package com.yl.auth.mapper;

import com.yl.auth.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ln
 * @since 2023-07-18
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    @Select("SELECT * from permission where pid=18")
    List<Permission> getAll();
    @Select("select * from permission where type=1")
    List<Permission> listquanxian();
}
